home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / 2924.ZIP / DMLXREF.ARC / KBD.TBL < prev    next >
Encoding:
Text File  |  1988-12-28  |  2.2 KB  |  54 lines

  1. .R:E
  2. .W:96
  3. .H:...DML KBD UNIT Version 1.00...
  4. .H:...$$Day Mon D, YEAR$$  $$Z:MI A.M.$$     Page $$$...
  5. .H:...TABLE OF CONTENTS...
  6. .H:
  7. .F:
  8. .F:... Copyright (c) 1989, by DML Software Inc. ...
  9. .X:8
  10.  
  11.  
  12.                    DML SOFTWARE INC. TURBO PASCAL LIBRARY
  13.  
  14.  
  15. KEYBOARD SUBROUTINES
  16.  
  17.   The following procedures provide some low-level support for the key
  18.   board.  The first routine KbdInputValue waits for a character to be typed
  19.   on the keyboard, and returns the "extended ASCII" code for that key.  The
  20.   other routines give information on the status of various shift-locks
  21.   (i.e. Scroll lock, etc).  Some of these locks can be set under program
  22.   control.  Almost all of these routines deal with the keyboard either at
  23.   the BIOS level or directly at the hardware level.  
  24.  
  25.  
  26.  
  27. Procedure                                                                Page
  28. ---------                                                                ----
  29.  
  30. KEYBOARD ROUTINES - CHANGES HIGHLIGHTS (VERSION 1.00)                       1
  31.  
  32. 1) GENERAL PURPOSE KEYBOARD                                                 2
  33.  
  34. KbdGetStatus - Gets the Keyboard status flags.                              2
  35. KbdSetInsMode - Sets the Insert Mode toggle.                                3
  36. KbdSetCapsLock - Sets the Caps Lock toggle.                                 4
  37. KbdSetNumLock - Sets the Number Lock toggle.                                5
  38. KbdSetScrollLock - Sets the Scroll Lock toggle.                             6
  39. KbdInsModeStatus - Returns the state of the Insert Mode toggle.             7
  40. KbdCapsLockStatus - Returns the state of the keyboard Caps Lock flag.       8
  41. KbdNumLockStatus - Returns the state of the Number lock flag.               9
  42. KbdScrollLockStatus - Returns the state of the Scroll lock flag.           10
  43.  
  44. 2) KEYBOARD BUFFER                                                         11
  45.  
  46. KbdClear - Clears the keyboard buffer.                                     11
  47. KbdNumValuesWaiting - Returns the number of keys waiting in the keyboard.  12
  48. KbdInputValue - Waits for and returns "scan code" of a key pressed.        13
  49. KbdKeyWaiting - Returns TRUE if a key is in the keyboard buffer.           14
  50.  
  51.  
  52. 
  53.  
  54.